<!DOCTYPE html>
<html>
<head>
    {include file="../application/common/header.html" /}
</head>

<body>
    <div id="head_master_mailboxtb">
        <form id="head_master_mailboxForm" class="m5">
            <select class="form-control1" name="isReply" id="isReply">
                <option value="">全部</option>
                <option value="1">已回复</option>
                <option value="0">未回复</option>
            </select>
            发送时间：
            <input class="easyui-datebox form-control1" name="startDate" id="startDate"> - <input class="easyui-datebox form-control1" name="endDate" id="endDate">
            <a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-search'" onclick="searchForm('head_master_mailbox')">查询</a>
            <a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-clear'" onclick="resetForm('head_master_mailbox')">重置</a>
            <a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-save'" onclick="outExcel('head_master_mailbox','/reportExport/head_master_mailbox')">导出为EXCEL</a>
        </form>
    </div>
    <table id="head_master_mailboxdg">
        <thead>
            <tr>
                <th data-options="field:'GRADE_NAME'">班级</th>
                <th data-options="field:'STUDENT_NAME'">学生姓名</th>
                <th data-options="field:'PARENT_NAME'">家长昵称</th>
                <th data-options="field:'PROBLEM',width:200,
                formatter: function(value, row, index) {
                    return '<span class=\'note\' title=\''+value+'\'>'+ value + '</span>';
                }">内容</th>
                <th data-options="field:'CREATE_TIME'">发送时间</th>
                <th data-options="field:'IS_REPLY'">回复状态</th>
                <th data-options="field:'TEACHER_NAME'">回复教师</th>
                <th data-options="field:'REPLY',width:200,
                formatter: function(value, row, index) {
                    return '<span class=\'note\' title=\''+(value ? value : '')+'\'>'+ (value ? value : '') + '</span>';
                }">回复内容</th>
                <th data-options="field:'REPLY_TIME'">回复时间</th>
            </tr>
        </thead>
    </table>
    <script type="text/javascript">
        $(function(){
            var url = "/reportExport/head_master_mailbox";
            initDatagrid("head_master_mailbox", url);
        })
    </script>

</body>
</html>